#include "student.h"

Student::Student(QObject *parent) : QObject(parent)
{

}

int Student::getId() const
{
    return id;
}

void Student::setId(int value)
{
    id = value;
}

QString Student::getName() const
{
    return name;
}

void Student::setName(const QString &value)
{
    name = value;
}

QString Student::getSex() const
{
    return sex;
}

void Student::setSex(const QString &value)
{
    sex = value;
}

QString Student::getAddr() const
{
    return addr;
}

void Student::setAddr(const QString &value)
{
    addr = value;
}

QString Student::getEmail() const
{
    return email;
}

void Student::setEmail(const QString &value)
{
    email = value;
}
